package com.zhonghui.mes.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 制造执行MES-作业装配对象 mes_job_Assembly
 * 
 * @author qiezhi
 * @date 2023-12-15
 */
@Data
public class MesJobAssembleVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 作业名称 */
    @Excel(name = "作业名称")
    private String jobName;

    /** 计划排产id */
    @Excel(name = "计划排产id")
    private Long plannedProductionId;
    @Excel(name = "计划排产")
    private String serialNo;
    @Excel(name = "生产计划")
    private String name;

    private String materialName;
    private String materialModel;
    private String materialSpecifications;
    private String materialUnit;
    private String materialRemark;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 生产数量 */
    private Long quantity;

    /** 作业状态：0未执行1执行中2已完成3异常 */
    private Long status;

}
